$(document).ready(function() {

	$('[img-transition=true]').cycle({
		speed: 300,
		timeout: 0,
		fx: 'fade'
	});
	
	$('[img-transition=true]').parent().parent().hover(function() {
		$(this).children().children('[img-transition=true]').cycle('next');
	}, function() {
		$(this).children().children('[img-transition=true]').cycle('prev');
	});
	
		
	$('#content-wrap #nav .nav-item').click(function() {
		$('.nav-menu').slideUp(200);
		$('#' + $(this).attr('nav-menu')).stop().slideToggle(200);
	});
	
	

});